package dataObjects;

/**
 * AbstractMedicineData entity provides the base persistence definition of the
 * MedicineData entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractMedicineData implements java.io.Serializable {

	// Fields

	private String medicineId;
	private String medicineName;
	private String conflictingMedicines;
	private String conflictingFood;
	private String conflictingConditions;

	// Constructors

	/** default constructor */
	public AbstractMedicineData() {
	}

	/** minimal constructor */
	public AbstractMedicineData(String medicineId) {
		this.medicineId = medicineId;
	}

	/** full constructor */
	public AbstractMedicineData(String medicineId, String medicineName,
			String conflictingMedicines, String conflictingFood,
			String conflictingConditions) {
		this.medicineId = medicineId;
		this.medicineName = medicineName;
		this.conflictingMedicines = conflictingMedicines;
		this.conflictingFood = conflictingFood;
		this.conflictingConditions = conflictingConditions;
	}

	// Property accessors

	public String getMedicineId() {
		return this.medicineId;
	}

	public void setMedicineId(String medicineId) {
		this.medicineId = medicineId;
	}

	public String getMedicineName() {
		return this.medicineName;
	}

	public String getName() {
		return this.medicineName;
	}
	
	public void setMedicineName(String medicineName) {
		this.medicineName = medicineName;
	}

	public String getConflictingMedicines() {
		return this.conflictingMedicines;
	}

	public void setConflictingMedicines(String conflictingMedicines) {
		this.conflictingMedicines = conflictingMedicines;
	}

	public String getConflictingFood() {
		return this.conflictingFood;
	}

	public void setConflictingFood(String conflictingFood) {
		this.conflictingFood = conflictingFood;
	}

	public String getConflictingConditions() {
		return this.conflictingConditions;
	}

	public void setConflictingConditions(String conflictingConditions) {
		this.conflictingConditions = conflictingConditions;
	}

}